[INFO] fetching crate channelz_brotli 0.7.0...
[INFO] fixing channelz_brotli-0.7.0 against try#622891a4e29178280638a6b63a8908bde2c0c854+cargoflags=-Zfix-edition=end=2015,2024 for pr-157817-2
[INFO] extracting crate channelz_brotli 0.7.0 into /workspace/builds/worker-0-tc2/source
[INFO] started tweaking crates.io crate channelz_brotli 0.7.0
[INFO] finished tweaking crates.io crate channelz_brotli 0.7.0
[INFO] tweaked toml for crates.io crate channelz_brotli 0.7.0 written to /workspace/builds/worker-0-tc2/source/Cargo.toml
[INFO] validating manifest of crates.io crate channelz_brotli 0.7.0 on toolchain 622891a4e29178280638a6b63a8908bde2c0c854
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+622891a4e29178280638a6b63a8908bde2c0c854" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+622891a4e29178280638a6b63a8908bde2c0c854" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Updating crates.io index
[INFO] [stderr]      Locking 1 package to latest compatible version
[INFO] [stderr]       Adding cc v1.0.106 (available: v1.2.65)
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+622891a4e29178280638a6b63a8908bde2c0c854" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/source:/opt/rustwide/workdir:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-m" "1610612736" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:3a6becf2bc8dde7f3fa57ede90e4f284e72d296796fc446bbb1e2c7cc0530151" "sleep" "infinity", kill_on_drop: false }`
[INFO] [stdout] 7d910003c85c2ae71592adb9a6dd120ba623aef2dbbc964e9ac604edec4f03cd
[INFO] running `Command { std: "docker" "start" "7d910003c85c2ae71592adb9a6dd120ba623aef2dbbc964e9ac604edec4f03cd", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-w" "/opt/rustwide/workdir" "--user" "0:0" "7d910003c85c2ae71592adb9a6dd120ba623aef2dbbc964e9ac604edec4f03cd" "/opt/rustwide/cargo-home/bin/cargo" "+622891a4e29178280638a6b63a8908bde2c0c854" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "7d910003c85c2ae71592adb9a6dd120ba623aef2dbbc964e9ac604edec4f03cd", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=" "-e" "RUSTDOCFLAGS=" "-w" "/opt/rustwide/workdir" "--user" "0:0" "7d910003c85c2ae71592adb9a6dd120ba623aef2dbbc964e9ac604edec4f03cd" "/opt/rustwide/cargo-home/bin/cargo" "+622891a4e29178280638a6b63a8908bde2c0c854" "fix" "--allow-no-vcs" "--allow-dirty" "--frozen" "--all" "--all-targets" "--message-format=json" "-Zfix-edition=end=2015,2024", kill_on_drop: false }`
[INFO] [stderr] crater-edition-check: migrating to next edition
[INFO] [stderr]    Migrating Cargo.toml from 2021 edition to 2024
[INFO] [stderr]    Compiling cc v1.0.106
[INFO] [stderr]    Compiling channelz_brotli v0.7.0 (/opt/rustwide/workdir)
[INFO] [stderr]    Migrating build.rs from 2021 edition to 2024
[INFO] [stderr]    Migrating src/lib.rs from 2021 edition to 2024
[INFO] [stderr]        Fixed src/ffi.rs (6 fixes)
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 13.34s
[INFO] [stderr] crater-edition-check: channelz_brotli v0.7.0 (/opt/rustwide/workdir) updating edition from 2021 to 2024
[INFO] [stderr]    Compiling channelz_brotli v0.7.0 (/opt/rustwide/workdir)
[INFO] [stdout] error: usage of an `unsafe extern` block
[INFO] [stdout]    --> src/ffi.rs:176:1
[INFO] [stdout]     |
[INFO] [stdout] 176 | / unsafe extern "C" {
[INFO] [stdout] 177 | |     fn BrotliEncoderCompressStream(
[INFO] [stdout] 178 | |         state: *mut BrotliEncoderState,
[INFO] [stdout] 179 | |         op: c_uint,
[INFO] [stdout] ...   |
[INFO] [stdout] 185 | |     ) -> c_int;
[INFO] [stdout] 186 | | }
[INFO] [stdout]     | |_^
[INFO] [stdout]     |
[INFO] [stdout] note: the lint level is defined here
[INFO] [stdout]    --> src/lib.rs:19:9
[INFO] [stdout]     |
[INFO] [stdout]  19 | #![deny(unsafe_code)]
[INFO] [stdout]     |         ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: usage of an `unsafe extern` block
[INFO] [stdout]    --> src/ffi.rs:188:1
[INFO] [stdout]     |
[INFO] [stdout] 188 | / unsafe extern "C" {
[INFO] [stdout] 189 | |     fn BrotliEncoderCreateInstance(
[INFO] [stdout] 190 | |         alloc_func: brotli_alloc_func,
[INFO] [stdout] 191 | |         free_func: brotli_free_func,
[INFO] [stdout] 192 | |         opaque: *mut c_void,
[INFO] [stdout] 193 | |     ) -> *mut BrotliEncoderState;
[INFO] [stdout] 194 | | }
[INFO] [stdout]     | |_^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: usage of an `unsafe extern` block
[INFO] [stdout]    --> src/ffi.rs:196:1
[INFO] [stdout]     |
[INFO] [stdout] 196 | / unsafe extern "C" {
[INFO] [stdout] 197 | |     fn BrotliEncoderDestroyInstance(state: *mut BrotliEncoderState);
[INFO] [stdout] 198 | | }
[INFO] [stdout]     | |_^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: usage of an `unsafe extern` block
[INFO] [stdout]    --> src/ffi.rs:200:1
[INFO] [stdout]     |
[INFO] [stdout] 200 | / unsafe extern "C" {
[INFO] [stdout] 201 | |     fn BrotliEncoderTakeOutput(state: *mut BrotliEncoderState, size: *mut usize) -> *const u8;
[INFO] [stdout] 202 | | }
[INFO] [stdout]     | |_^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: usage of an `unsafe extern` block
[INFO] [stdout]    --> src/ffi.rs:176:1
[INFO] [stdout]     |
[INFO] [stdout] 176 | / unsafe extern "C" {
[INFO] [stdout] 177 | |     fn BrotliEncoderCompressStream(
[INFO] [stdout] 178 | |         state: *mut BrotliEncoderState,
[INFO] [stdout] 179 | |         op: c_uint,
[INFO] [stdout] ...   |
[INFO] [stdout] 185 | |     ) -> c_int;
[INFO] [stdout] 186 | | }
[INFO] [stdout]     | |_^
[INFO] [stdout]     |
[INFO] [stdout] note: the lint level is defined here
[INFO] [stdout]    --> src/lib.rs:19:9
[INFO] [stdout]     |
[INFO] [stdout]  19 | #![deny(unsafe_code)]
[INFO] [stdout]     |         ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: usage of an `unsafe extern` block
[INFO] [stdout]    --> src/ffi.rs:188:1
[INFO] [stdout]     |
[INFO] [stdout] 188 | / unsafe extern "C" {
[INFO] [stdout] 189 | |     fn BrotliEncoderCreateInstance(
[INFO] [stdout] 190 | |         alloc_func: brotli_alloc_func,
[INFO] [stdout] 191 | |         free_func: brotli_free_func,
[INFO] [stdout] 192 | |         opaque: *mut c_void,
[INFO] [stdout] 193 | |     ) -> *mut BrotliEncoderState;
[INFO] [stdout] 194 | | }
[INFO] [stdout]     | |_^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: usage of an `unsafe extern` block
[INFO] [stdout]    --> src/ffi.rs:196:1
[INFO] [stdout]     |
[INFO] [stdout] 196 | / unsafe extern "C" {
[INFO] [stdout] 197 | |     fn BrotliEncoderDestroyInstance(state: *mut BrotliEncoderState);
[INFO] [stdout] 198 | | }
[INFO] [stdout]     | |_^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: usage of an `unsafe extern` block
[INFO] [stdout]    --> src/ffi.rs:200:1
[INFO] [stdout]     |
[INFO] [stdout] 200 | / unsafe extern "C" {
[INFO] [stdout] 201 | |     fn BrotliEncoderTakeOutput(state: *mut BrotliEncoderState, size: *mut usize) -> *const u8;
[INFO] [stdout] 202 | | }
[INFO] [stdout]     | |_^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `channelz_brotli` (lib test) due to 4 previous errors
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] [stderr] error: could not compile `channelz_brotli` (lib) due to 4 previous errors
[INFO] running `Command { std: "docker" "inspect" "7d910003c85c2ae71592adb9a6dd120ba623aef2dbbc964e9ac604edec4f03cd", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "7d910003c85c2ae71592adb9a6dd120ba623aef2dbbc964e9ac604edec4f03cd", kill_on_drop: false }`
[INFO] [stdout] 7d910003c85c2ae71592adb9a6dd120ba623aef2dbbc964e9ac604edec4f03cd
